package com.xiaoshuidi.cloud.module.rooms.enums;

import com.xiaoshuidi.cloud.framework.common.exception.ErrorCode;

/**
 * Report 错误码枚举类
 * <p>
 * system 系统，使用 1-003-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== AUTH 模块 1003000000 ==========
    ErrorCode GO_VIEW_PROJECT_NOT_EXISTS = new ErrorCode(1003000000, "GoView 项目不存在");
    // ========== 公寓 ==========
    ErrorCode APARTMENT_NOT_EXISTS = new ErrorCode(20030, "门店不存在");

    ErrorCode HOUSE_NOT_EXISTS = new ErrorCode(20031, "房源不存在");
    ErrorCode ADDRESS_ERROR = new ErrorCode(20044, "地址异常，请检查地址是否过长或地址格式异常");
    ErrorCode SPACE_NOT_EXISTS = new ErrorCode(20032, "租赁空间不存在");
    ErrorCode RESERVE_BILL_NOT_EXISTS = new ErrorCode(20032, "预定账单不存在");
    ErrorCode RESERVE_INFO_NOT_EXISTS = new ErrorCode(20050, "预定信息有误");

    ErrorCode HOUSE_PRICING_IMPORT_PARTIAL_SUCCESS = new ErrorCode(20033, "批量设置完成！部分房源设置失败");
    ErrorCode HOUSE_TYPE_NOT_EXISTS = new ErrorCode(20039, "户型不存在");
    ErrorCode SWITCH_RENTAL_FORMATS_ERROR = new ErrorCode(20001, "切换出租形式异常，请联系管理员");
    ErrorCode CONCENTRATED_DOES_NOT_SUPPORT_SWITCHING_RENTAL_FORMS = new ErrorCode(20003, "集中式房源不支持更改出租形式");
    ErrorCode THERE_ARE_NON_VACANT_LISTINGS_ERROR = new ErrorCode(20004, "存在非空置或已锁定房源,不可更改出租形式");

    ErrorCode HOUSE_FILINGS_ERROR = new ErrorCode(20034, "备案失败;");
    ErrorCode HOUSE_FLOOR_REPEAT = new ErrorCode(20035, "楼层重复");
    ErrorCode HOUSE_DEVICE_BINDING = new ErrorCode(20036, "该设备已绑定");
    ErrorCode HOUSE_MANAGE_COST = new ErrorCode(20037, "请先给房间设置单价策略及智能硬件付费模式");
    ErrorCode IOT_DEVICE_ERROR = new ErrorCode(20038, "调用iot服务异常");
    ErrorCode READING_ORDER_IMPORT = new ErrorCode(20040, "请检查房源名称和抄表类型，或者先在后付费模式中应用该房源");
    ErrorCode PAY_MODE_EXISTS = new ErrorCode(20041, "付费模式已存在，请勿重复添加");
    ErrorCode HOUSE_DEVICE_CAN_NOT_BINDING = new ErrorCode(20042, "该房间设备已设置后付费模式，无需绑定");
    ErrorCode HOUSE_PAY_MODE_REPEAT = new ErrorCode(20043, "该房间已应用付费模式,请先取消！");
    ErrorCode HOUSE_DEVICE_PRICE = new ErrorCode(20045, "请在手抄表水电煤单价设置中应用该房源");
    ErrorCode READING_ORDER_IMPORT_COUNT = new ErrorCode(20046, "当前抄表读数不能小于上次抄表读数");
    ErrorCode READING_ORDER_IMPORT_NOT_NULL = new ErrorCode(20047, "导入模版中的 房源名称、抄表类型、本次读数、抄表时间、应收款时间不能为空");
    ErrorCode CONTRACT_FIND_ROOM_ID = new ErrorCode(20048, "当前合同状态不支持查看设备相关信息");
    ErrorCode HOUSE_FILINGS_NOT_EXISTS = new ErrorCode(20049, "备案信息不存在;");
    ErrorCode ROOM_DOORLOCK_CDKEY_NOT_EXISTS = new ErrorCode(20049, "房间门锁激活码配置不存在;");

    // ========== 租客 30 ==========
    ErrorCode ADDRESS_NOT_NULL = new ErrorCode(30010, "地址不能为空");
    ErrorCode CAPTCHA_ERROR = new ErrorCode(30011, "验证码有误");
    ErrorCode FORMAT_ERROR = new ErrorCode(30012,"预定账单格式有误");

}
